﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Web_Interface_Register : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void TextBox2_TextChanged(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        AddAccount aa = new AddAccount();
        string birthdate = Day.Text + Month.Text + Year.Text;
        aa.execute(Username.Text,Password.Text,FirstName.Text,LastName.Text,birthdate,Email.Text,Telephone.Text,Country.Text);
        Response.Redirect("http://www.livescore.com/");
        //retype password,w el drop down lists
    }
}
